package com.exam.demo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.exam.demo.controller.dto.UserDTO;
import com.exam.demo.entity.Teacher;
import org.springframework.stereotype.Service;

/**
 * 功能描述
 *
 * @author yxj30
 * @date 2022/03/16  19:23
 */

public interface TeacherService extends IService<Teacher> {

    Page<Teacher> findPage(Page<Teacher> objectPage, String teacherName);

    UserDTO login(Teacher teacher);
}
